
///////////////////////////////////////////////////Replication code for figures in Ghiselli and Morgan (2024) 'Blowback: When China's Belt and Road Initiative Meets Democratic Institutions///////////////////////////////////////////////////////////////////////////

***NOTES: The supplementary material for Ghiselli and Morgan 'Blowback: When China's Belt and Road Initiative Meets Democratic Institutions' contains four .dta (Stata data) files: 

*(1) "Blowback (panel country-year)" [this countains panel country-year data on Chinese overseas contracting activities], alongside the covariates used in Table 1 and in the robustness checks found in the online supplementary material; 
*(2) "Blowback (annual aggregates)" [this contains global annual aggregated data on Chinese overseas contracting activities, alongside various other aggregated data used to create Figures 4 and 5]; 
*(3) "coord_mercator_world" and (4) "idfile.dta" [coordinates files and ID files for Figure 5, which is created using the -spmap- command. For original coordinates files and ID files, see here: https://www.stathelp.se/en/spmap_world_en.html.]
*Please see the paper and online supplementary for detailed definitions and sources. Citations to all externally-sourced data used to create the figures are available in the paper and/or online supplementary material.


//////////////////////////////////////////////////// DESCRIPTIVE FIGURES //////////////////////////////////////////////////

*Figure 4
use "Blowback (annual aggregates) final.dta" 
line aei_investment_bns contracts_aei_bn fdi_flow_usd_bns global_loans_bn value_engdes_bns official_finance_usd_bns year
//Layout, title, line style etc. manually edited in Stata's graph edit function for presentational ease
clear 

*Figure 5
clear
use "Blowback (panel country-year) final"
generate value_engdes_bns = value_engdes/100000 //convert original value to billions for presentational ease
drop if missing(cown)
collapse (sum) value_engdes_bns, by(cown)
merge 1:m cown using "idfile.dta"
spmap value_engdes_bns using "coord_mercator_world.dta", id(na_id_world) fcolor(Reds) clmethod(eqint)
clear

//////////////////////////////////////////////////// STATISTICAL ANALYSIS ///////////////////////////////////////////////

use "Blowback (panel country-year) final"
sort country year
xtset iso3n year

*Table 1
xtpcse ln_value_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_1.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_1.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_1.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_1.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_1.doc", append

*Figure 7
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
margins, at(l.bri_mou=(0 1) l.c.v2x_libdem=(0(0.5)1))
marginsplot, noci
//Layout, line style etc. manually edited in Stata's graph edit function for presentational ease
clear

*Figure 6
//generate standardized explanatory variables
use "Blowback (panel country-year) final"
sort country year
xtset iso3n year
egen sv2x_libdem = std(v2x_libdem)
egen sresources = std(resources)
egen sstability_absence_of_v = std(political_stability_absence_of_v)
egen sgdp_per_capita = std(gdp_per_capita)
egen sgdp_growth = std(gdp_growth)
egen sln_population = std(ln_population)
egen schina_dist = std(china_dist)
egen sidealpointdistance = std(idealpointdistance)
egen sln_newcom_worldbank_plusone = std(ln_newcom_worldbank_plusone)
egen sln_official_finance_usd_plusone = std(ln_official_finance_usd_plusone)
egen sln_tradeflow_comtrade_d = std(ln_tradeflow_comtrade_d)
egen std_year = std(year)
xtpcse ln_value_engdes_plusone l.c.sv2x_libdem l.sresources l.sgdp_per_capita l.sgdp_growth l.sln_population l.sln_tradeflow_comtrade_d l.sstability_absence_of_v l.sln_newcom_worldbank_plusone l.sln_official_finance_usd_plusone l.sidealpointdistance schina_dist c.std_year, pairwise //model 1 in table 1
estimates store results
coefplot results, nolabels drop(0bL.bri_mou 0bL.leader_visit year _cons) mlabel(cond(@pval<.01, "***", cond(@pval<.05, "**", cond(@pval<.1, "*","")))) xline(0)
//Layout, line style etc. manually edited in Stata's graph edit function for presentational ease
clear

//////////////////////////////////////////////////// SUPPLEMENTARY MATERIAL ///////////////////////////////////////////////

clear
use "Blowback (panel country-year) final"
sort country year
xtset iso3n year

*Table A3
summarize ln_value_engdes_plusone v2x_libdem bri_mou bri_member resources gdp_per_capita gdp_growth ln_population ln_tradeflow_comtrade_d political_stability_absence_of_v ln_newcom_worldbank_plusone ln_official_finance_usd_plusone idealpointdistance china_dist year ihs_value_engdes ln_turnover_engdes_plusone ihs_turnover_engdes v2x_polyarchy president_visit premier_visit oil govt_effectiveness china_distcap kofgi nato unsc election unemployment_ilo corruption_control state_system_membership_length bri_list v2x_partipdem v2x_freexp_altinf v2x_liberal v2x_partip v2x_cspart

*Table A4
xtpcse ihs_value_engdes l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A4.doc", replace
xtpcse ihs_value_engdes l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A4.doc", append
xtpcse ihs_value_engdes l.c.v2x_libdem##i.l.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A4.doc", append
xtpcse ihs_value_engdes l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A4.doc", append
xtpcse ihs_value_engdes l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A4.doc", append


*Table A5
xtpcse ln_turnover_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A5.doc", replace
xtpcse ln_turnover_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A5.doc", append
xtpcse ln_turnover_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A5.doc", append
xtpcse ln_turnover_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A5.doc", append
xtpcse ln_turnover_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A5.doc", append


*Table A6 
xtpcse ihs_turnover_engdes l.c.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A6.doc", replace
xtpcse ihs_turnover_engdes l.c.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A6.doc", append
xtpcse ihs_turnover_engdes l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A6.doc", append
xtpcse ihs_turnover_engdes l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A6.doc", append
xtpcse ihs_turnover_engdes l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A6.doc", append

*Table A7
xtpcse ln_value_engdes_plusone l.c.v2x_polyarchy l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A7.doc", replace 
xtpcse ln_value_engdes_plusone l.c.v2x_polyarchy l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A7.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_polyarchy##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A7.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_polyarchy l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A7.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_polyarchy##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A7.doc", append

*TABLE A8
xtpcse ln_value_engdes_plusone l.i.democracy_femalesuffrage l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A8.doc", replace
xtpcse ln_value_engdes_plusone l.i.democracy_femalesuffrage l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A8.doc", append
xtpcse ln_value_engdes_plusone l.i.democracy_femalesuffrage##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A8.doc", append
xtpcse ln_value_engdes_plusone l.i.democracy_femalesuffrage l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A8.doc", append
xtpcse ln_value_engdes_plusone l.i.democracy_femalesuffrage##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A8.doc", append

*Table A9
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.president_visit l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A9.doc", replace
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.president_visit l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A9.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.premier_visit l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A9.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.premier_visit l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A9.doc", append

*Table A10
xtpcse ln_value_engdes_plusone l.v2x_libdem l.oil l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A10.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.oil l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A10.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.oil l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A10.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.oil l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A10.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.oil l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A10.doc", append

*Table A11
xtpcse ln_value_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_distcap c.year, pairwise //model 1
outreg2 using "table_A11.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_distcap c.year, pairwise //model 2
outreg2 using "table_A11.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_distcap c.year, pairwise //model 3
outreg2 using "table_A11.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_distcap c.year, pairwise //model 4
outreg2 using "table_A11.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_distcap c.year, pairwise //model 5
outreg2 using "table_A11.doc", append

*Table A12
xtpcse ln_value_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist l.govt_effectiveness c.year, pairwise //model 1 
outreg2 using "table_A12.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist l.govt_effectiveness c.year, pairwise //model 2
outreg2 using "table_A12.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist l.govt_effectiveness c.year, pairwise //model 3
outreg2 using "table_A12.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist l.govt_effectiveness c.year, pairwise //model 4
outreg2 using "table_A12.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist l.govt_effectiveness c.year, pairwise //model 5
outreg2 using "table_A12.doc", append

*Table A13
xtpcse ln_value_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.kofgi, pairwise //model 1
outreg2 using "table_A13.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.kofgi, pairwise //model 2
outreg2 using "table_A13.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.kofgi, pairwise //model 3
outreg2 using "table_A13.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.kofgi, pairwise //model 4
outreg2 using "table_A13.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.kofgi, pairwise //model 5
outreg2 using "table_A13.doc", append

*Table A14
xtpcse ln_value_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.nato, pairwise //model 1
outreg2 using "table_A14.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.nato, pairwise //model 2
outreg2 using "table_A14.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.nato, pairwise //model 3
outreg2 using "table_A14.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.nato, pairwise //model 4
outreg2 using "table_A14.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.nato, pairwise //model 5
outreg2 using "table_A14.doc", append


*Table A15
xtpcse ln_value_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.unsc, pairwise //model 1
outreg2 using "table_A15.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.unsc, pairwise //model 2
outreg2 using "table_A15.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.unsc, pairwise //model 3
outreg2 using "table_A15.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.unsc, pairwise //model 4
outreg2 using "table_A15.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.unsc, pairwise //model 5
outreg2 using "table_A15.doc", append

*Table A16
xtpcse ln_value_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.election, pairwise //model 1
outreg2 using "table_A16.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.election, pairwise //model 2
outreg2 using "table_A16.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.election, pairwise //model 3
outreg2 using "table_A16.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.election, pairwise //model 4
outreg2 using "table_A16.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.i.election, pairwise //model 5
outreg2 using "table_A16.doc", append

*Table A17
xtpcse ln_value_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.unemployment_ilo, pairwise //model 1
outreg2 using "table_A17.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.unemployment_ilo, pairwise //model 2
outreg2 using "table_A17.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.unemployment_ilo, pairwise //model 3
outreg2 using "table_A17.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.unemployment_ilo, pairwise //model 4
outreg2 using "table_A17.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year l.unemployment_ilo, pairwise //model 5
outreg2 using "table_A17.doc", append

*Table A18
xtpcse ln_value_engdes_plusone l.c.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist l.corruption_control c.year, pairwise //model 1 
outreg2 using "table_A18.doc", replace
xtpcse ln_value_engdes_plusone l.c.v2x_libdem i.l.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist l.corruption_control c.year, pairwise //model 2
outreg2 using "table_A18.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##i.l.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist l.corruption_control c.year, pairwise //model 3
outreg2 using "table_A18.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem i.l.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist l.corruption_control c.year, pairwise //model 4
outreg2 using "table_A18.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##i.l.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist l.corruption_control c.year, pairwise //model 5
outreg2 using "table_A18.doc", append

*Table A19
xtivreg ln_value_engdes_plusone (l.v2x_libdem = l.state_system_membership_length) l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, re  //model 1
outreg2 using "table_A19.doc", replace
xtivreg ln_value_engdes_plusone (l.v2x_libdem = l.state_system_membership_length) l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, re //model 2
outreg2 using "table_A19.doc", append
gen v2x_libdemXbri_mou = v2x_libdem*bri_mou //need to generate interaction manually due to xtivreg functionality
xtivreg ln_value_engdes_plusone (l.c.v2x_libdem l.v2x_libdemXbri_mou = l.c.state_system_membership_length l.c.state_system_membership_length#l.i.bri_mou) l.c.resources l.c.gdp_per_capita l.c.gdp_growth l.c.ln_population l.c.ln_tradeflow_comtrade_d l.c.political_stability_absence_of_v l.c.ln_newcom_worldbank_plusone l.c.ln_official_finance_usd_plusone l.c.idealpointdistance c.china_dist c.year, re //model 3
outreg2 using "table_A19.doc", append
xtivreg ln_value_engdes_plusone (l.v2x_libdem = l.state_system_membership_length) l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, re //model 4
outreg2 using "table_A19.doc", append
gen v2x_libdemXbri_member = v2x_libdem*bri_member //need to generate interaction manually due to xtivreg functionality
xtivreg ln_value_engdes_plusone (l.c.v2x_libdem l.v2x_libdemXbri_member = l.c.state_system_membership_length l.c.state_system_membership_length#l.i.bri_member) l.c.resources l.c.gdp_per_capita l.c.gdp_growth l.c.ln_population l.c.ln_tradeflow_comtrade_d l.c.political_stability_absence_of_v l.c.ln_newcom_worldbank_plusone l.c.ln_official_finance_usd_plusone l.c.idealpointdistance c.china_dist c.year, re //model 5
outreg2 using "table_A19.doc", append

*Table A20
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l2.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A20.doc", replace
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l3.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A20.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l5.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A20.doc", append

*Table A21
xtpcse ln_value_engdes_plusone l.v2x_freexp_altinf l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A21.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_freexp_altinf l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A21.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_freexp_altinf##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A21.doc", append
xtpcse ln_value_engdes_plusone l.v2x_freexp_altinf l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A21.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_freexp_altinf##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A21.doc", append

*Table A22
xtpcse ln_value_engdes_plusone l.v2x_liberal l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A22.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_liberal l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A22.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_liberal##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A22.doc", append
xtpcse ln_value_engdes_plusone l.v2x_liberal l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A22.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_liberal##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A22.doc", append

*Table A23
xtpcse ln_value_engdes_plusone l.v2x_cspart l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A23.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_cspart l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A23.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_cspart##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A23.doc", append
xtpcse ln_value_engdes_plusone l.v2x_cspart l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A23.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_cspart##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A23.doc", append

*Table A24
xtpcse ln_value_engdes_plusone l.v2x_partip l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A24.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_partip l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A24.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_partip##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A24.doc", append
xtpcse ln_value_engdes_plusone l.v2x_partip l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A24.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_partip##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A24.doc", append

*Table A25
xtpcse ln_value_engdes_plusone l.v2x_partipdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 1
outreg2 using "table_A25.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_partipdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 2
outreg2 using "table_A25.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_partipdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 3
outreg2 using "table_A25.doc", append
xtpcse ln_value_engdes_plusone l.v2x_partipdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 4
outreg2 using "table_A25.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_partipdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year, pairwise //model 5
outreg2 using "table_A25.doc", append

*Table A26
xtpcse ln_value_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year bri_list, pairwise //model 1
outreg2 using "table_A26.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year bri_list, pairwise //model 2
outreg2 using "table_A26.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year bri_list, pairwise //model 3
outreg2 using "table_A26.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year bri_list, pairwise //model 4
outreg2 using "table_A26.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year bri_list, pairwise //model 5
outreg2 using "table_A26.doc", append

*Table A27
xtpcse ln_value_engdes_plusone l.v2x_libdem l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year if year > 2012, pairwise //model 1
outreg2 using "table_A27.doc", replace
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year if year > 2012, pairwise //model 2
outreg2 using "table_A27.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_mou l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year if year > 2012, pairwise //model 3
outreg2 using "table_A27.doc", append
xtpcse ln_value_engdes_plusone l.v2x_libdem l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year if year > 2012, pairwise //model 4
outreg2 using "table_A27.doc", append
xtpcse ln_value_engdes_plusone l.c.v2x_libdem##l.i.bri_member l.resources l.gdp_per_capita l.gdp_growth l.ln_population l.ln_tradeflow_comtrade_d l.political_stability_absence_of_v l.ln_newcom_worldbank_plusone l.ln_official_finance_usd_plusone l.idealpointdistance china_dist c.year if year > 2012, pairwise //model 5
outreg2 using "table_A27.doc", append

clear